package com.like.eureka.server;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * All rights Reserved, Designed By www.bqjr.cn
 *
 * @version V1.0
 * @Package com.like.eureka.server
 * @Description: 类描述：eureka 启动类
 * @author: 李科(B00184965)
 * @date: 2017/11/23  16:40
 * @Copyright: 2017 www.bqjr.cn Inc. All rights reserved.
 */

//通过此注解开启服务注册中心
@EnableEurekaServer
@SpringBootApplication
public class EurekaServer {

    public static void main(String[] args) {
        new SpringApplicationBuilder(EurekaServer.class).web(true).run(args);
    }

}
